/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.huawei.spare.part.replace.views.replace.slot;

import com.huawei.spare.part.replace.framework.SmartView;
import com.huawei.spare.part.replace.models.Replacement;

/**
 * @author Woo
 */
public class SlotItemView extends SmartView {

    public SlotItemView(Replacement.Slot slot) {
        super();
        initialize(slot);
    }

    private void initialize(Replacement.Slot slot) {
        getRealPresenter().render(slot);
    }

    public SlotItemPresenter getRealPresenter() {
        return (SlotItemPresenter) super.getPresenter();
    }

}
